package com.zwxbc.funplay.entity;

import java.math.BigDecimal;
import java.util.Date;

public class GameComment {
	private Long commentId;
	private Long gameId;
	private Long playerId;
	private String playerName;
	private String playerImage;
	private String comment;
	private BigDecimal rating;
	private Date commentDate;

	public GameComment() {
	}

	public GameComment(Long commentId, Long gameId, Long playerId, String playerName, String playerImage, String comment, BigDecimal rating, Date commentDate) {
		this.commentId = commentId;
		this.gameId = gameId;
		this.playerId = playerId;
		this.playerName = playerName;
		this.playerImage = playerImage;
		this.comment = comment;
		this.rating = rating;
		this.commentDate = commentDate;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public String getPlayerImage() {
		return playerImage;
	}

	public void setPlayerImage(String playerImage) {
		this.playerImage = playerImage;
	}

	public Long getCommentId() {
		return commentId;
	}

	public void setCommentId(Long commentId) {
		this.commentId = commentId;
	}

	public Long getGameId() {
		return gameId;
	}

	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}

	public Long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(Long playerId) {
		this.playerId = playerId;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public BigDecimal getRating() {
		return rating;
	}

	public void setRating(BigDecimal rating) {
		this.rating = rating;
	}

	public Date getCommentDate() {
		return commentDate;
	}

	public void setCommentDate(Date commentDate) {
		this.commentDate = commentDate;
	}

	@Override
	public String toString() {
		return "GameComment{" +
				"commentId=" + commentId +
				", gameId=" + gameId +
				", playerId=" + playerId +
				", comment='" + comment + '\'' +
				", rating=" + rating +
				", commentDate=" + commentDate +
				'}';
	}
}

